<table width="195" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="195" height="35" background="images/bgn_sp2.png"><div align="left" style="color:#000000; font-family:Tahoma; font-size: 14px; padding-left:30px">SẢN PHẨM PHỔ BIẾN</div></td>
  </tr>
  <tr>
    <td style="border-left:1px solid #CCCCCC;border-right:1px solid #CCCCCC;border-bottom:1px solid #CCCCCC;" align="center"> 
<div id="NewsTicker">  
<div id="NewsVertical">
	  <ul id="TickerVertical">
      <?php 
	  	$query=mysql_query("select * from sanpham where id_loai=4 limit 0,14");
		while($r=mysql_fetch_array($query))
		{
			$hinh=$r["hinh"];$id=$r["id"];$tensp=$r["tensp"];
			$gia=$r["gia"];$gia2=number_format($gia,0,'','.');
			if($gia==0) $s="( liên hệ )"; else $s=$gia2; 
	  ?>
        <li>
        <img src="../sanpham/small/<?php echo $hinh; ?>" width="170" height="170" />
        </li>
       <?php } ?>
       
    </ul>
    </div>
</div>
</td>
</tr>
</table>		
